package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 车型详情表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("car_detail")
@ApiModel(value = "CarDetail对象", description = "车型详情表")
public class CarDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "car_detail_id", type = IdType.AUTO)
    private Integer carDetailId;

    @ApiModelProperty("排量")
    private String displacement;

    @ApiModelProperty("年份")
    private String carYear;

    @ApiModelProperty("具体型号版本")
    private String varVersion;

    @ApiModelProperty("关联车型id")
    private Integer carTypeId;

    @ApiModelProperty("逻辑删除(0正常，1删除)")
    private Integer deleted;

    public Integer getCarDetailId() {
        return carDetailId;
    }

    public void setCarDetailId(Integer carDetailId) {
        this.carDetailId = carDetailId;
    }

    public String getDisplacement() {
        return displacement;
    }

    public void setDisplacement(String displacement) {
        this.displacement = displacement;
    }

    public String getCarYear() {
        return carYear;
    }

    public void setCarYear(String carYear) {
        this.carYear = carYear;
    }

    public String getVarVersion() {
        return varVersion;
    }

    public void setVarVersion(String varVersion) {
        this.varVersion = varVersion;
    }

    public Integer getCarTypeId() {
        return carTypeId;
    }

    public void setCarTypeId(Integer carTypeId) {
        this.carTypeId = carTypeId;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "CarDetail{" +
        "carDetailId = " + carDetailId +
        ", displacement = " + displacement +
        ", carYear = " + carYear +
        ", varVersion = " + varVersion +
        ", carTypeId = " + carTypeId +
        ", deleted = " + deleted +
        "}";
    }
}
